package com.roast.pages;

import com.roast.domain.UserData;
import com.roast.util.EventSSO;
import org.apache.tapestry5.annotations.SessionAttribute;
import org.apache.tapestry5.annotations.SessionState;

public class Logout {

    @SessionAttribute
    boolean loginSA;

    @SessionAttribute
    UserData userSA;

    @SessionState
    EventSSO eventSSO;

    Object onActivate() {
        loginSA = false;
        userSA = null;
        eventSSO = null;

        return Login.class;
    }
}
